package com.example.tianling.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.tianling.admin.vo.TodayDataVo;
import com.example.tianling.common.vo.TrainArticleVo;
import com.example.tianling.common.vo.article;

import java.util.List;


public interface ArticleData {
    TodayDataVo load();
    List loadArticleIndate(String stratTime, String endTime);
    IPage<article> searchAuthorArticle(Integer pageNum, Integer typeNum, String keyword);

    IPage<TrainArticleVo> searchAuthorTrain(Integer page, Integer type, String keyword);
    Integer deleteArticle(List deleteList);
}
